--- /dev/null
+Description: HACK: vtkQWidgetTexture.cxx: Don't use vtkOpenGLCheckErrorMacro
+ Fixes building for Qt with OpenGL ES.
+Author: Adrian Bunk <bunk@debian.org>
+
+--- vtk9-9.1.0+dfsg2.orig/GUISupport/Qt/vtkQWidgetTexture.cxx
++++ vtk9-9.1.0+dfsg2/GUISupport/Qt/vtkQWidgetTexture.cxx
+@@ -18,7 +18,7 @@
+ #include "vtkOpenGLResourceFreeCallback.h"
+ #include "vtkOpenGLState.h"
+
+-#include "vtkOpenGLError.h"
++//#include "vtkOpenGLError.h"
+
+ #include <QGraphicsProxyWidget>
+ #include <QGraphicsScene>
+@@ -98,7 +98,7 @@ vtkQWidgetTexture::vtkQWidgetTexture()
+ }
+
+ this->Create2DFromRaw(width, height, 4, VTK_UNSIGNED_CHAR, this->ImageBuffer);
+- vtkOpenGLCheckErrorMacro("failed after QWidgeTexture repaint and draw");
++ //vtkOpenGLCheckErrorMacro("failed after QWidgeTexture repaint and draw");
+ }
+ };
+ }
50_fix_python-modules_path.patch
60_fix_path_perl.patch
83_allow_gles_platforms.patch
+84_vtkQWidgetTexture_no_vtkOpenGLCheckErrorMacro.patch
95_java_mach-arch_fix.patch
97_reproducible_builds.patch
98_fix_mpi4py.py